package com.sleep.psy.external_server.utils;

import com.sleep.psy.external_server.constants.CommonConstants;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Slf4j
public class AudioCureUtils {

	public static String getTransAudio(String str) {
		
		log.info("音频治疗--前--"+str);
		
		Map<String,String> map = new HashMap<>();
		map.put("01_A_00","S01");
		map.put("01_A_01","S02");
		map.put("01_A_02","S03");
		map.put("02_A_01","S04");
		map.put("02_A_02","S05");
		map.put("02_A_03","S06");
		map.put("02_A_04","S07");
		map.put("02_A_05","S08");
		map.put("03_A_01","S09");
		map.put("04_A_01","A01");
		map.put("04_A_02","A02");
		map.put("04_A_03","A03");
		map.put("04_A_04","A04");
		map.put("04_A_05","A05");
		map.put("04_B_01","B01");
		map.put("04_B_02","B02");
		map.put("04_C_01","C01");
		map.put("04_D_01","D01");
		map.put("04_E_01","E01");
		map.put("04_E_02","E02");
		map.put("04_E_03","E03");
		map.put("04_F_01","F01");
		map.put("06_A_01","K01");
		map.put("06_A_02","K02");
		map.put("06_A_03","K03");
		map.put("08_A_01","XX01");
		map.put("09_A_01","T01");
		map.put("09_A_02","T02");
		map.put("09_A_03","T03");
		map.put("09_A_04","T04");
		map.put("07_A_01","XW01");
		map.put("07_A_02","XW02");
		map.put("07_A_03","XW03");
		map.put("07_A_04","XW04");
		map.put("07_A_05","XW05");
		map.put("07_A_06","XW06");
		map.put("10_A_01","Q01");

		for (Map.Entry<String,String> entry : map.entrySet()) { 
			
			if(str.contains(entry.getKey())) {
				str = str.replace( entry.getKey(),  entry.getValue());
			}
		}
		return str;
	}
	
	public static List<String> getSpecialInfo(String specialTypeClassName ){
		
		
		//---------------------------第1天--------------------------
		List<String> lisAudio1 = new ArrayList<>();
		lisAudio1.add("S01"); 
		lisAudio1.add("S02");  
		lisAudio1.add("S04");  
		lisAudio1.add("A01");  
		lisAudio1.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  
		lisAudio1.add("T01");  
		lisAudio1.add("Q01"); 
		

		//---------------------------第2天--------------------------
		List<String>lisAudio2 = new ArrayList<>();
		lisAudio2.add("S01"); 
		lisAudio2.add("S03");  
		lisAudio2.add("A02");  
		lisAudio2.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));
		lisAudio2.add("T01");  
		lisAudio2.add("XX01");  
		lisAudio2.add("Q01");  
		
		//---------------------------第3天--------------------------
		List<String> lisAudio3 = new ArrayList<>();
		lisAudio3.add("S01"); 
		lisAudio3.add("S02");  
		lisAudio3.add("A03");  
		lisAudio3.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  
		lisAudio3.add("XW01");  
		lisAudio3.add("T02");  
		lisAudio3.add("Q01"); 
		
		//---------------------------第4天--------------------------
		List<String> lisAudio4 = new ArrayList<>();
		lisAudio4.add("S01"); 
		lisAudio4.add("S03");  
		lisAudio4.add("A04");  
		lisAudio4.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  
		lisAudio4.add("T03");  
		lisAudio4.add("XX01");  
		lisAudio4.add("Q01"); 
		
		
		//---------------------------第5天--------------------------
		List<String> lisAudio5 = new ArrayList<>();
		lisAudio5.add("S01"); 
		lisAudio5.add("S02");  
		lisAudio5.add("B01");  
		lisAudio5.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  //认知10
		lisAudio5.add("XW03");  
		lisAudio5.add("T04");  
		lisAudio5.add("XX01");  
		lisAudio5.add("Q01"); 
		
		//---------------------------第6天--------------------------
		List<String> lisAudio6 = new ArrayList<>();
		lisAudio6.add("S01"); 
		lisAudio6.add("S03");  
		lisAudio6.add("C01");  	
		lisAudio6.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  
		lisAudio6.add("K01");  
		lisAudio6.add("T01"); 
		lisAudio6.add("Q01"); 
		
		//---------------------------第7天--------------------------
		List<String> lisAudio7= new ArrayList<>();
		lisAudio7.add("S01"); 
		lisAudio7.add("S02");  
		lisAudio7.add(CommonConstants.SPECIAL_AUDIO_LISTEN.get(specialTypeClassName));  
		lisAudio7.add("K03");  
		lisAudio7.add("XW03");  
		lisAudio7.add("T02");  
		lisAudio7.add("XX01"); 
		lisAudio7.add("Q01");  
		
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio1.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio2.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio3.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio4.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio5.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio6.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio7.stream().collect(Collectors.joining(",","",""))));
		return daysAudio;
	} 
	
	
	
	public static List<String> getFigureSkatingDuoOneManDay(){
		
		//---------------------------第1天--------------------------
		List<String> lisAudio1 = new ArrayList<>();
		lisAudio1.add("S01"); 
		lisAudio1.add("S10");  
		lisAudio1.add("S04");  
		lisAudio1.add("C01");  
		lisAudio1.add("HHSR01");  
		lisAudio1.add("K01");  
		lisAudio1.add("T01"); 
		lisAudio1.add("Q01"); 
		

		//---------------------------第2天--------------------------
		List<String>lisAudio2 = new ArrayList<>();
		lisAudio2.add("S01"); 
		lisAudio2.add("S10");  
		lisAudio2.add("C01");  
		lisAudio2.add("HHSR02"); 
		lisAudio2.add("K01");  
		lisAudio2.add("T01");  
		lisAudio2.add("XX01");  
		lisAudio2.add("Q01"); 
		
		//---------------------------第3天--------------------------
		List<String> lisAudio3 = new ArrayList<>();
		lisAudio3.add("S01"); 
		lisAudio3.add("S10");  
		lisAudio3.add("C01");  
		lisAudio3.add("HHSR03");  
		lisAudio3.add("K01");  
		lisAudio3.add("XW01");  
		lisAudio3.add("T02"); 
		lisAudio3.add("Q01"); 
		
		//---------------------------第4天--------------------------
		List<String> lisAudio4 = new ArrayList<>();
		lisAudio4.add("S01"); 
		lisAudio4.add("S10");  
		lisAudio4.add("B01");  
		lisAudio4.add("HHSR04");  
		lisAudio4.add("T03");  
		lisAudio4.add("XX01");  
		lisAudio4.add("Q01"); 
		
		
		//---------------------------第5天--------------------------
		List<String> lisAudio5 = new ArrayList<>();
		lisAudio5.add("S01"); 
		lisAudio5.add("S10");  
		lisAudio5.add("B01");  
		lisAudio5.add("HHSR05");  //认知10
		lisAudio5.add("XW03");  
		lisAudio5.add("T04");  
		lisAudio5.add("XX01");  
		lisAudio5.add("Q01"); 
		
		//---------------------------第6天--------------------------
		List<String> lisAudio6 = new ArrayList<>();
		lisAudio6.add("S01"); 
		lisAudio6.add("S10");  
		lisAudio6.add("C01");  	
		lisAudio6.add("HHSR06");  
		lisAudio6.add("K01");  
		lisAudio6.add("T01"); 
		lisAudio6.add("Q01"); 
		
		//---------------------------第7天--------------------------
		List<String> lisAudio7= new ArrayList<>();
		lisAudio7.add("S01"); 
		lisAudio7.add("S10");  
		lisAudio7.add("HHFS01");  
		lisAudio7.add("K03");  
		lisAudio7.add("XW03");  
		lisAudio7.add("T02");  
		lisAudio7.add("XX01"); 
		lisAudio7.add("Q01");  
		
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio1.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio2.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio3.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio4.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio5.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio6.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio7.stream().collect(Collectors.joining(",","",""))));
		return daysAudio;
	} 
	
	
	public static List<String> getFigureSkatingDuoOneManNight(){
		
		//---------------------------第1天--------------------------
		List<String> lisAudio1 = new ArrayList<>();
		lisAudio1.add("S01"); 
		lisAudio1.add("S10");  
		lisAudio1.add("S04");  
		lisAudio1.add("C01");  
		lisAudio1.add("HHSR01");  
		lisAudio1.add("K01");  
		lisAudio1.add("T01"); 
		lisAudio1.add("Q02"); 
		

		//---------------------------第2天--------------------------
		List<String>lisAudio2 = new ArrayList<>();
		lisAudio2.add("S01"); 
		lisAudio2.add("S10");  
		lisAudio2.add("C01");  
		lisAudio2.add("HHSR02"); 
		lisAudio2.add("K01");  
		lisAudio2.add("T01");  
		lisAudio2.add("XX01");  
		lisAudio2.add("Q02"); 
		
		//---------------------------第3天--------------------------
		List<String> lisAudio3 = new ArrayList<>();
		lisAudio3.add("S01"); 
		lisAudio3.add("S10");  
		lisAudio3.add("C01");  
		lisAudio3.add("HHSR03");  
		lisAudio3.add("K01");  
		lisAudio3.add("XW01");  
		lisAudio3.add("T02"); 
		lisAudio3.add("Q02"); 
		
		//---------------------------第4天--------------------------
		List<String> lisAudio4 = new ArrayList<>();
		lisAudio4.add("S01"); 
		lisAudio4.add("S10");  
		lisAudio4.add("B01");  
		lisAudio4.add("HHSR04");  
		lisAudio4.add("T03");  
		lisAudio4.add("XX01");  
		lisAudio4.add("Q02"); 
		
		
		//---------------------------第5天--------------------------
		List<String> lisAudio5 = new ArrayList<>();
		lisAudio5.add("S01"); 
		lisAudio5.add("S10");  
		lisAudio5.add("B01");  
		lisAudio5.add("HHSR05");  //认知10
		lisAudio5.add("XW03");  
		lisAudio5.add("T04");  
		lisAudio5.add("XX01");  
		lisAudio5.add("Q02"); 
		
		//---------------------------第6天--------------------------
		List<String> lisAudio6 = new ArrayList<>();
		lisAudio6.add("S01"); 
		lisAudio6.add("S10");  
		lisAudio6.add("C01");  	
		lisAudio6.add("HHSR06");  
		lisAudio6.add("K01");  
		lisAudio6.add("T01"); 
		lisAudio6.add("Q02"); 
		
		//---------------------------第7天--------------------------
		List<String> lisAudio7= new ArrayList<>();
		lisAudio7.add("S01"); 
		lisAudio7.add("S10");  
		lisAudio7.add("HHFS01");  
		lisAudio7.add("K03");  
		lisAudio7.add("XW03");  
		lisAudio7.add("T02");  
		lisAudio7.add("XX01"); 
		lisAudio7.add("Q02");  
		
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio1.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio2.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio3.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio4.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio5.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio6.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio7.stream().collect(Collectors.joining(",","",""))));
		return daysAudio;
	} 
	
	
	
	
	public static List<String> getErMing(){
		
		//---------------------------第1天--------------------------
		List<String> lisAudio1 = new ArrayList<>();
		lisAudio1.add("S01"); 
		lisAudio1.add("EM01");  
//		lisAudio1.add("Q01");    放松后面有唤醒 所以去掉

		//---------------------------第2天--------------------------
		List<String>lisAudio2 = new ArrayList<>();
		lisAudio2.add("S01"); 
		lisAudio2.add("S03");  
		lisAudio2.add("EM02");  
		lisAudio2.add("Q01"); 
		
		//---------------------------第3天--------------------------
		List<String> lisAudio3 = new ArrayList<>();
		lisAudio3.add("S01"); 
		lisAudio3.add("S02");  
		lisAudio3.add("EM03");  
		lisAudio3.add("Q01");  
		
		//---------------------------第4天--------------------------
		List<String> lisAudio4 = new ArrayList<>();
		lisAudio4.add("S01"); 
		lisAudio4.add("S02");  
		lisAudio4.add("EM04");  
		lisAudio4.add("Q01");  
		
		//---------------------------第5天--------------------------
		List<String> lisAudio5 = new ArrayList<>();
		lisAudio5.add("S01"); 
		lisAudio5.add("S03");  
		lisAudio5.add("EM05");  
		lisAudio5.add("Q01"); 
		
		//---------------------------第6天--------------------------
		List<String> lisAudio6 = new ArrayList<>();
		lisAudio6.add("S01"); 
		lisAudio6.add("S03");  
		lisAudio6.add("EM06");  	
		lisAudio6.add("Q01");  
		
		//---------------------------第7天--------------------------
		List<String> lisAudio7= new ArrayList<>();
		lisAudio7.add("S01"); 
		lisAudio7.add("S03");  
		lisAudio7.add("EM07");  
		lisAudio7.add("Q01");  
		
		//---------------------------第8天--------------------------
		List<String> lisAudio8= new ArrayList<>();
		lisAudio8.add("S01"); 
		lisAudio8.add("S03");  
		lisAudio8.add("EM08");  
		lisAudio8.add("Q01");  
		
		//---------------------------第9天--------------------------
		List<String> lisAudio9= new ArrayList<>();
		lisAudio9.add("S01"); 
		lisAudio9.add("S03");  
		lisAudio9.add("EM09");  
		lisAudio9.add("Q01"); 
		
		//---------------------------第10天--------------------------
		List<String> lisAudio10= new ArrayList<>();
		lisAudio10.add("S01"); 
		lisAudio10.add("S03");  
		lisAudio10.add("EM10");  
		lisAudio10.add("Q01"); 
		
		//---------------------------第11天--------------------------
		List<String> lisAudio11= new ArrayList<>();
		lisAudio11.add("S01"); 
		lisAudio11.add("S03");  
		lisAudio11.add("EM06");  
		lisAudio11.add("Q01"); 
		
		//---------------------------第12天--------------------------
		List<String> lisAudio12= new ArrayList<>();
		lisAudio12.add("S01"); 
		lisAudio12.add("S03");  
		lisAudio12.add("EM08");  
		lisAudio12.add("Q01"); 
		
		//---------------------------第13天--------------------------
		List<String> lisAudio13= new ArrayList<>();
		lisAudio13.add("S01"); 
		lisAudio13.add("S03");  
		lisAudio13.add("EM13");  
		lisAudio13.add("Q01"); 
		
		//---------------------------第14天--------------------------
		List<String> lisAudio14= new ArrayList<>();
		lisAudio14.add("S01"); 
		lisAudio14.add("S03");  
		lisAudio14.add("EM14");  
		lisAudio14.add("Q01"); 
		
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio1.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio2.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio3.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio4.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio5.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio6.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio7.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio8.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio9.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio10.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio11.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio12.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio13.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio14.stream().collect(Collectors.joining(",","",""))));
		return daysAudio;
	} 
	
	
	
	public static List<String> getHeadache(){
		
		//---------------------------第1天--------------------------
		List<String> lisAudio1 = new ArrayList<>();
		lisAudio1.add("S01"); 
		lisAudio1.add("TT01");  

		//---------------------------第2天--------------------------
		List<String>lisAudio2 = new ArrayList<>();
		lisAudio2.add("S01"); 
		lisAudio2.add("S03");  
		lisAudio2.add("TT02");  
		lisAudio2.add("TT15"); 
		
		//---------------------------第3天--------------------------
		List<String> lisAudio3 = new ArrayList<>();
		lisAudio3.add("S01"); 
		lisAudio3.add("S02");  
		lisAudio3.add("TT03");  
		lisAudio3.add("TT15");  
		
		//---------------------------第4天--------------------------
		List<String> lisAudio4 = new ArrayList<>();
		lisAudio4.add("S01"); 
		lisAudio4.add("S02");  
		lisAudio4.add("TT04");  
		lisAudio4.add("TT15");  
		
		//---------------------------第5天--------------------------
		List<String> lisAudio5 = new ArrayList<>();
		lisAudio5.add("S01"); 
		lisAudio5.add("S03");  
		lisAudio5.add("TT05");  
		lisAudio5.add("TT02"); 
		lisAudio5.add("TT15");
		
		//---------------------------第6天--------------------------
		List<String> lisAudio6 = new ArrayList<>();
		lisAudio6.add("S01"); 
		lisAudio6.add("S03");  
		lisAudio6.add("TT06");  	
		lisAudio6.add("TT15");  
		
		//---------------------------第7天--------------------------
		List<String> lisAudio7= new ArrayList<>();
		lisAudio7.add("S01"); 
		lisAudio7.add("S03");  
		lisAudio7.add("TT07");  
		lisAudio7.add("TT15");  
		
		//---------------------------第8天--------------------------
		List<String> lisAudio8= new ArrayList<>();
		lisAudio8.add("S01"); 
		lisAudio8.add("S03");  
		lisAudio8.add("TT08");  
		lisAudio8.add("TT02");  
		lisAudio8.add("TT15");  
		
		//---------------------------第9天--------------------------
		List<String> lisAudio9= new ArrayList<>();
		lisAudio9.add("S01"); 
		lisAudio9.add("S03");  
		lisAudio9.add("xxx");  //当问卷里选择“让你担心劳累以后头痛会加重”或“头痛使你经常感到疲惫?”、这两个阳性条目时，第九次调节选择B_09音频，其它时候都用B_5音频。
		lisAudio9.add("TT02"); 
		lisAudio9.add("TT15");
		
		//---------------------------第10天--------------------------
		List<String> lisAudio10= new ArrayList<>();
		lisAudio10.add("S01"); 
		lisAudio10.add("S03");  
		lisAudio10.add("xxx");  //当问卷里选择“头痛使你阅读出现困难吗?”、“头痛使你注意力难以集中”这两个阳性条目时，第十次调节选择B_10音频，其它时候都用B_7音频。
		lisAudio10.add("TT15"); 
		
		//---------------------------第11天--------------------------
		List<String> lisAudio11= new ArrayList<>();
		lisAudio11.add("S01"); 
		lisAudio11.add("S03");  
		lisAudio11.add("TT11");  
		lisAudio11.add("TT06"); 
		lisAudio11.add("TT15"); 
		
		//---------------------------第12天--------------------------
		List<String> lisAudio12= new ArrayList<>();
		lisAudio12.add("S01"); 
		lisAudio12.add("S03");  
		lisAudio12.add("TT08");  
		lisAudio12.add("TT15"); 
		
		//---------------------------第13天--------------------------
		List<String> lisAudio13= new ArrayList<>();
		lisAudio13.add("S01"); 
		lisAudio13.add("S03");  
		lisAudio13.add("TT13");  
		lisAudio13.add("TT15"); 
		
		//---------------------------第14天--------------------------
		List<String> lisAudio14= new ArrayList<>();
		lisAudio14.add("S01"); 
		lisAudio14.add("S03");  
		lisAudio14.add("TT1400");  
		lisAudio14.add("TT02"); 
		lisAudio14.add("TT1401"); 
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio1.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio2.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio3.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio4.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio5.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio6.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio7.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio8.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio9.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio10.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio11.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio12.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio13.stream().collect(Collectors.joining(",","",""))));
		daysAudio.add(AudioCureUtils.getTransAudio((String) lisAudio14.stream().collect(Collectors.joining(",","",""))));
		return daysAudio;
	}


	public static List<String> getYunChe(){
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche1.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche2.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche3.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche4.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche5.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/yunche/yunche6.mp3");
		return daysAudio;
	}


	public static List<Integer> getYunCheTime(){
		List<Integer> daysAudio = new ArrayList<>();
		daysAudio.add(1802);
		daysAudio.add(893);
		daysAudio.add(1068);
		daysAudio.add(815);
		daysAudio.add(576);
		daysAudio.add(815);
		return daysAudio;
	}


	public static List<String> getKongGao(){
		List<String> daysAudio = new ArrayList<>();
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao1.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao2.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao3.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao4.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao5.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao6.mp3");
		daysAudio.add("https://shuimian2.oss-cn-beijing.aliyuncs.com/konggao/konggao7.mp3");
		return daysAudio;
	}


	public static List<Integer> getKongGaoTime(){
		List<Integer> daysAudio = new ArrayList<>();
		daysAudio.add(3057);
		daysAudio.add(1201);
		daysAudio.add(1301);
		daysAudio.add(1427);
		daysAudio.add(924);
		daysAudio.add(1625);
		daysAudio.add(1306);
		return daysAudio;
	}



	public static Map<String,String>  getWmpiFy(){
		Map<String,String> fy = new HashMap<>();
		
		//掩饰 
		fy.put("测谎", "yanshi_total_all");
		//重测
		fy.put("重测", "chongce_total_all");
		
		//生活事件 
//		fy.put("生活事件分量表", "shenghuoshijian");
		fy.put("家庭内部", "jiatingneibu");
		fy.put("家庭外部", "jiatingwaibu");
		fy.put("学习经历", "xuexijinli");
		fy.put("性经历", "xingjinli");
		
		//教养方式
//		fy.put("教养方式分量表", "jiaoyufangshi");
		fy.put("惩罚", "chengfa");
		fy.put("严厉", "yanli");
		fy.put("过度干涉", "guoduganshe");
		fy.put("溺爱", "niai");
		fy.put("矛盾教育", "maodunjiaoyu");
		fy.put("忽略保护", "hulvebaohu");
		
		//胆气（胆量）
//		fy.put("胆气分量表", "danqi");
		fy.put("人际恐惧", "renjikongju");
		fy.put("自然恐惧", "zirankongju");
		fy.put("适应力", "shiyingli");
		fy.put("莫名恐惧", "momingkongju");
		//自知（自我）
//		fy.put("自我分量表", "ziwo");
		fy.put("社会自我", "shehuiziwo");
		fy.put("生理自我", "shengliziwo");
		fy.put("家庭自我", "jiatingziwo");
		fy.put("自主性", "zizhuxing");
		fy.put("自理性", "zilixing");
		
		//思虑（思维方式）
//		fy.put("异常思维方式分量表", "siwei");
		fy.put("病态思维", "bingtaishiwei");
		fy.put("绝对化思维", "jueduihuasiwei");
		fy.put("谨慎", "jinshen");
		fy.put("固执", "guzhi");
		
		//人伦（人际交往）
//		fy.put("人际交往分量表", "renlun");
		fy.put("乐群性", "lequnxing");
		fy.put("利他性", "litaxing");
		fy.put("依恋性", "yilianxing");
		
		//性情观（性发展）
//		fy.put("性发展分量表", "xingqingguan");
		fy.put("异性交往", "yixingjiaowang");
		fy.put("爱情观", "aiqingguan");
		fy.put("性观念", "xingguanlian");
		fy.put("性感知力", "xingganzhili");
		
		//三才观（世界观）
//		fy.put("世界观分量表", "sancaiguan");
		fy.put("归因", "guiyin");
		fy.put("动机", "dongji");
		fy.put("价值观", "jiazhiguan");
		fy.put("事业观", "shiyeguan");
		fy.put("友谊观", "youyiguan");
		fy.put("健康观", "jiankangguan");
		
		//意志（意志力）
//		fy.put("意志力分量表", "yizhi");
		fy.put("果断性", "guoduanxing");
		fy.put("自觉性", "zijuexing");
		fy.put("延迟满足", "yanchimanzu");
		fy.put("坚持性", "jianchixing");
		
		return fy;
	}

	
	public static void main(String[] args) {
		System.out.println(getTransAudio("07_A_02,04_B_02"));
	}
	
}
